package com.quxing.amazon.service.impl;

import com.quxing.amazon.model.User;
import com.quxing.amazon.mapper.UserMapper;
import com.quxing.amazon.model.dto.UserBasicInfo;
import com.quxing.amazon.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author zhb
 * @since 2021-05-11
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public UserBasicInfo selectUserBasicInfoByUsername(String username) {
        return this.baseMapper.selectUserBasicInfoByUsername(username);
    }
}
